package com.init.engineering.service;

import com.init.engineering.pages.PageResult;
import com.init.engineering.pages.QueryPageBean;
import com.init.engineering.pojo.Item;
import com.init.engineering.pojo.Subitem;

import java.util.List;

public interface ItemService {

    List<Item> findItems();


    PageResult findItemsByPage(QueryPageBean queryPageBean);


    int saveItem(Item item);


    int deleteItem(String iid);



    Item findItemByIid(String iid);


    int updateItem(Item item);


    List<Item> findItemsBySuid(String suid);
}
